Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] sale_timesheet_rounded: Migration to 17.0 #659

Merged
merged 15 commits into from
Jun 26, 2024

Conversation

sonhd91
Copy link

@sonhd91 sonhd91 commented Mar 27, 2024

Since the idea of this module is to replace the regular unit_amount with unit_amount_rounded by adding it as a field in the read_group method, and then replacing unit_amount with unit_amount_rounded.

In v17, the fields readed and the groupby are hard-coded when dealing with sales order lines, and the static loop element makes implementing the rounded flow prone to bugs. Therefore, I suggest overriding the method _get_delivered_quantity_by_analytic with hooks.

@sonhd91 sonhd91 changed the title [17.0][MIG] sale_timesheet_rounded: Migrate to 17.0 [17.0][MIG] sale_timesheet_rounded: Migration to 17.0 Mar 27, 2024
@gurneyalex
Copy link
Member

/ocabot migration sale_timesheet_rounded

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jun 26, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Jun 26, 2024
12 tasks
@gurneyalex
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-659-by-gurneyalex-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3545756 into OCA:17.0 Jun 26, 2024
4 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 71385e1. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants